The 'DITL' Resource
The 'DITL' Resource
The 'DITL' resource is a standard dialog item list.
You can start your controls immediately below the standard controls put in
the Options dialog box by the Monitors control panel, as shown in the second
Figure in the section, About the Monitors Control Panel. If you add
additional controls for superusers, you should separate the superuser controls
from the other controls with a horizontal dividing line, as illustrated in the
Figure below.
An Options dialog box with superuser controls
To draw a dividing line, make it a separate dialog item of type userItem. The
procedure for the dialog item should consist of a FrameRect procedure that
draws a 1- pixel-high rectangle. The coordinates for the dividing line are in
the coordinate system used by your 'RECT' resource. If you wish, you can use a
gray pattern for this line in a manner similar to that used for divider lines in
menus. Dialog items are discussed in the Dialog Manager description; and the
FrameRect procedure is described in the QuickDraw.